.. _ocacontrolnetwork: 1.4.1 OcaControlNetwork ======================== Class Hierarchy: :ref:`OcaRoot ` :raw:html:`→` :ref:`OcaApplicationNetwork ` :raw:html:`→` :ref:`OcaControlNetwork ` .. cpp:class:: OcaControlNetwork: OcaApplicationNetwork **Properties**: .. _ocacontrolnetwork_classid: .. cpp:member:: static const OcaClassID ClassID = "1.4.1" This property is an override of the **OcaRoot** property. This property has id ``3.1``. .. _ocacontrolnetwork_classversion: .. cpp:member:: static const OcaClassVersionNumber ClassVersion = 1 This property is an override of the **OcaRoot** property. This property has id ``3.2``. .. _ocacontrolnetwork_protocol: .. cpp:member:: OcaNetworkControlProtocol Protocol Type of control protocol used by the network (OCAnn). Read-only property. This property has id ``3.1``. Properties inherited from :ref:`OcaApplicationNetwork `: - :cpp:texpr:`OcaString` :ref:`OcaApplicationNetwork::Label ` - :cpp:texpr:`OcaONo` :ref:`OcaApplicationNetwork::Owner ` - :cpp:texpr:`OcaApplicationNetworkServiceID` :ref:`OcaApplicationNetwork::ServiceID ` - :cpp:texpr:`OcaList` :ref:`OcaApplicationNetwork::SystemInterfaces ` - :cpp:texpr:`OcaApplicationNetworkState` :ref:`OcaApplicationNetwork::State ` - :cpp:texpr:`OcaUint16` :ref:`OcaApplicationNetwork::ErrorCode ` Properties inherited from :ref:`OcaRoot `: - :cpp:texpr:`OcaONo` :ref:`OcaRoot::ObjectNumber ` - :cpp:texpr:`OcaBoolean` :ref:`OcaRoot::Lockable ` - :cpp:texpr:`OcaString` :ref:`OcaRoot::Role ` **Methods**: .. _ocacontrolnetwork_getcontrolprotocol: .. cpp:function:: OcaStatus GetControlProtocol(OcaNetworkControlProtocol &Protocol) Gets the network's Protocol property. Return status indicates whether the operation was successful. This method has id ``3.1``. :param OcaNetworkControlProtocol Protocol: Output parameter. Methods inherited from :ref:`OcaApplicationNetwork `: - :ref:`OcaApplicationNetwork::GetLabel(Label) ` - :ref:`OcaApplicationNetwork::SetLabel(Label) ` - :ref:`OcaApplicationNetwork::GetOwner(Owner) ` - :ref:`OcaApplicationNetwork::GetServiceID(Name) ` - :ref:`OcaApplicationNetwork::SetServiceID(Name) ` - :ref:`OcaApplicationNetwork::GetSystemInterfaces(SystemInterfaces) ` - :ref:`OcaApplicationNetwork::SetSystemInterfaces(Descriptors) ` - :ref:`OcaApplicationNetwork::GetState(State) ` - :ref:`OcaApplicationNetwork::GetErrorCode(ErrorCode) ` - :ref:`OcaApplicationNetwork::Control(Command) ` - :ref:`OcaApplicationNetwork::GetPath(NamePath, ONoPath) ` Methods inherited from :ref:`OcaRoot `: - :ref:`OcaRoot::GetClassIdentification(ClassIdentification) ` - :ref:`OcaRoot::GetLockable(lockable) ` - :ref:`OcaRoot::LockTotal() ` - :ref:`OcaRoot::Unlock() ` - :ref:`OcaRoot::GetRole(Role) ` - :ref:`OcaRoot::LockReadonly() `